HTTP Error 500.32 - Failed to load .NET Core host

HTTP Error 500.32 - Failed to load .NET Core host


One of the most common reasons for this error is:
The IIS worker process is running as a 64-bit app while the Web API was published to target 32-bit, or the IIS worker process is running as a 32-bit app while the Web API was published to target 64-bit. So you can select the following solutions:
In IIS Manager, select Application Pools in the Connections panel. Select the app's application pool. In the Actions panel, select Advanced Settings. Change the setting of Enable 32-Bit Applications. If Web APIs is 32-bit, set Enable 32-Bit Applications to True so IIS runs as 32-bit; if Web APIs is 64-bit, set Enable 32-Bit Applications to False so IIS runs as 64-bit.
Seyed Hamed Vahedi Seyed Hamed Vahedi     Mon, 3 June, 2024